github.com/klauspost/compress/internal/snapref.Reader.buf (field)
13 uses
github.com/klauspost/compress/internal/snapref (current package)
decode.go#L83: buf: make([]byte, maxEncodedLenOfMaxBlockSize+checksumSize),
decode.go#L94: buf []byte
decode.go#L123: if !r.readFull(r.buf[:4], true) {
decode.go#L126: chunkType := r.buf[0]
decode.go#L134: chunkLen := int(r.buf[1]) | int(r.buf[2])<<8 | int(r.buf[3])<<16
decode.go#L135: if chunkLen > len(r.buf) {
decode.go#L149: buf := r.buf[:chunkLen]
decode.go#L182: buf := r.buf[:checksumSize]
decode.go#L209: if !r.readFull(r.buf[:len(magicBody)], false) {
decode.go#L213: if r.buf[i] != magicBody[i] {
decode.go#L228: if !r.readFull(r.buf[:chunkLen], false) {
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |